package com.woniuxy.platform.common;

import result.Messagable;

public enum PlatformResultCode implements Messagable {

    LOGIN_ERROR(6001, "用户不存在或密码错误"),
    ACCOUNT_EXISITS(6002,"用户已存在")
    ;

    private Integer code;
    private String message;

    private PlatformResultCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
